All Console Commands
All Console Commands for Project Zomboid
Summary
Server administrators can control the flow of a Project Zomboid server by using various in-game commands or by executing commands remotely from the server panel. Console commands vary greatly in their function, from adjusting settings to spawning items and vehicles or even enabling god mode. In addition to these functions, console commands are a quick and convenient way to moderate a server, allowing admins to kick, ban, or add new players to the server whitelist, all from in-game.
Requirement
Console commands can only be accessed by Server Admins.
Command | Description | Syntax |
---|---|---|
additem | Gives the designated item to a player. | /additem "user" "module.item" |
addvehicle | Spawns a vehicle. | /addvehicle "user" |
addxp | Gives XP to the designated player. | /addxp "user" "perk=XP" |
alarm | Sets off a building alarm at the admin's position. | /alarm |
changeoption | Changes the designated server option. | /changeoption option="newOption" |
chopper | Starts a helicopter event on a random player. | /chopper |
changepwd | Changes the server password. | /changepwd "pwd" "newPwd" |
createhorde | Spawns a horde of zombies near the player. | /createhorde "number" |
godmode | Makes a player invulnerable. | /godmode "user" |
gunshot | Plays a gunshot noise near the player. | /gunshot |
help | Opens the help menu. | /help |
invisible | Makes the player invisible to zombies. | /invisible "user" |
noclip | Lets the player pass through solid objects. | /noclip "user" |
quit | Saves and exits the server. | /quit |
releasesafehouse | Releases ownership of a safehouse. | /releasesafehouse |
reloadoptions | Reloads the server options. | /reloadoptions |
replay | Records or plays a replay for a player. | `/replay "user" [-record |
save | Saves the current world. | /save |
sendpulse | Toggles server performance info sent to the client. | /sendpulse |
showoptions | Displays a list of current server options. | /showoptions |
startrain / stoprain | Starts or stops a rainstorm on the server. | /startrain / /stoprain |
teleport | Brings a player to you or brings you to them. | /teleport "toUser" or /teleport "user" "toUser" |
teleportto | Teleports a player to specific coordinates. | /teleportto x,y,z |
addalltowhitelist | Adds all logged-in players to the server whitelist. | /addalltowhitelist |
adduser | Adds a new user to the whitelist. | /adduser "user" "pwd" |
addusertowhitelist / removeuserfromwhitelist | Adds or removes a specified user from the whitelist. | /addusertowhitelist "user" |
banid / unbanid | Bans or unbans a player by their SteamID. | /banid "SteamID" / /unbanid "SteamID" |
banuser / unbanuser | Bans or unbans a player by their username. | /banuser "user" / /unbanuser "user" |
grantadmin / removeadmin | Gives or removes admin rights to a player. | /grantadmin "user" / /removeadmin "user" |
kickuser | Kicks the designated player from the server. | /kickuser "user" |
players | Lists all currently connected players. | /players |
servermsg | Sends a message to all players logged into the server. | /servermsg "message" |
setaccesslevel | Sets the permission level of a player. | `/setaccesslevel "user" "[admin |
voiceban | Bans a player from using in-game voice features. | `/voiceban "user" [-true |
Summary
Need to add or remove admin accounts?